package com.bwda.dsrs.filecenter.domain.form.fileapply;


import com.bwda.dsrs.base.util.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
/**
 * @description:文件申请更新
 * @author: yangjun
 * @create: 2019-04-28 11:15
 */
@Data
@ApiModel(description = "文件申请,共享，流转，外发")
public class FileApplyUpdateForm {

	@ApiModelProperty(value = "申请ID", required = true)
	@NotNull(message = "申请ID不能为空")
	private String id;

	@ApiModelProperty(value = "文件ID,逗号隔开")
	private String fileIds;

	@ApiModelProperty(value = "文件名称，全称aa.doc，逗号隔开")
	private String fileName;

	@ApiModelProperty(value = "0共享1流转2外发")
	private Integer applyType;

	@ApiModelProperty(value = "申请人编号")
	private String applyUserCode;

	@ApiModelProperty(value = "审核人编号")
	private String auditUserCode;

	@ApiModelProperty(value = "0内部审核1外部审核")
	private Integer auditType;

	@ApiModelProperty(value = "申请标题")
	private String applyTitle;

	@ApiModelProperty(value = "申请理由")
	private String applyReason;

	@ApiModelProperty(value = "0申请中1通过2拒绝")
	private Integer applyState;

	@ApiModelProperty(value = "审核备注")
	private String auditRemark;

	@ApiModelProperty(value = "创建人")
	private String createUserCode;

	@ApiModelProperty(value = "创建时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date createTime;

	@ApiModelProperty(value = "更新人")
	private String updateUserCode;

	@ApiModelProperty(value = "更新时间")
	private Integer updateTime;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "0未删除 1已删除")
	private Integer delFlag;

}